babl: initialize the bpp of fishes loaded from cache
authorØyvind Kolås <pippin@gimp.org>
Sat, 20 Jan 2018 17:41:12 +0000 (18:41 +0100)
committerØyvind Kolås <pippin@gimp.org>
Sat, 20 Jan 2018 17:44:07 +0000 (18:44 +0100)
commitb34a9672c8c9a42923a8f0b2650af30b1efe635c
treeb78ea8958d73979cebb133ea055d5823abb9aba2
parent5d3285c3311be4af8de76dcfcf3fe41749944ab2
babl: initialize the bpp of fishes loaded from cache

The cache loading code manually constructs path fishes, which did not
get their bpp initialized, this resulted in conversions of long runs to
fail, not crash - but stop processing after MAX_BUFFER_SIZE pixels.
babl/babl-cache.c
babl/babl-fish-path.c
babl/babl-internal.h